package edu.fdzc.learn.service;

import edu.fdzc.learn.entity.User;

public interface UserService {
    User findByUserName(String username);

    void register(String username, String password, String role);

    User findById(int id);

    void update(User user);
}
